package com.usooft.metaTalent.core.system.mapper;

import com.usooft.metaTalent.core.system.entity.Employee;
import com.usooft.metaTalent.core.system.query.EmployeeQuery;
import com.usooft.metaTalent.core.system.wrapper.EmployeeWrapper;
import java.lang.Long;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EmployeeMapper {
    int add(Employee employee);

    int update(Employee employee);

    int delete(Employee employee);

    Employee get(Long id);

    List<EmployeeWrapper> list(EmployeeQuery query);

    int count(@Param("filter") EmployeeQuery.Filter filter);
}
